package com.gitee.wsl.css.selector.builder

import com.gitee.wsl.css.property.Keyframes
import com.gitee.wsl.css.rule.RuleSet

fun Keyframes.from(rules: RuleSet.() -> Unit) = this.addKeyframeRule("from", rules)
fun Keyframes.to(rules: RuleSet.() -> Unit) = this.addKeyframeRule("to", rules)
fun Keyframes.percent(percent: Number, rules: RuleSet.() -> Unit) = this.addKeyframeRule("$percent%", rules)
fun Keyframes.custom(value: String, rules: RuleSet.() -> Unit) = this.addKeyframeRule(value, rules)
